
<!--
	作者：qq23025079@126.com
	时间：2014-09-19
	描述：苏明煌
-->

<eq name='load' value='1'>
	<link href="__ADDONS__/DataTime/css/datetimepicker.css" rel="stylesheet" type="text/css">
	<php>if(C('COLOR_STYLE')=='blue_color') echo "<link href='__ADDONS__/DataTime/css/datetimepicker_blue.css' rel='stylesheet' type='text/css'>";</php>
	<link href="__ADDONS__/DataTime/css/dropdown.css" rel="stylesheet" type="text/css">
	<script type="text/javascript" src="__ADDONS__/DataTime/js/bootstrap-datetimepicker.min.js"></script>
	<script type="text/javascript" src="__ADDONS__/DataTime/js/locales/bootstrap-datetimepicker.zh-CN.js" charset="UTF-8"></script>	
</eq>

<input type="text" data-toggle="showTime" id="{$load}_show_time" name="{$name}" value="{$value}" {$attribute} />

<script type="text/javascript">
    $("input[data-toggle='showTime']").datetimepicker({
        format: '{$two}',
        language:"zh-CN",
        minView:2,
        autoclose:true
    });
</script>